public class Dog extends Animal {
    public int legs = 4;
    public int boondsNum = 10;

    public void lookDoor() {
        System.out.println("看门");
    }

    public void eat() {
        System.out.println("吃骨头");
    }
}
